/**
 * 
 */
package hr.fer.zemris.rznu.model.dto.user;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;



/**
 * @author Dajan
 *
 */
public class PersonalUserInfoDTO implements IsSerializable{
	/**
	 * First name.
	 */
	private String firstName;
	/**
	 * Middle name.
	 */
	private String middleName;
	/**
	 * Last name.
	 */
	private String lastName;

	/**
	 * Current address.
	 */
	private AddressDTO address;
	/**
	 * Date of birth.
	 */
	private Date dateOfBirth;

	/**
	 * Perferred email address.
	 */
	private String email;

	
	public PersonalUserInfoDTO() {
		// TODO Auto-generated constructor stub
	}
	
	public PersonalUserInfoDTO(String firstName, String middleName,
			String lastName, AddressDTO address, Date dateOfBirth, String email) {
		super();
		this.firstName = firstName;
		this.middleName = middleName;
		this.lastName = lastName;
		this.address = address;
		this.dateOfBirth = dateOfBirth;
		this.email = email;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getMiddleName() {
		return middleName;
	}

	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public AddressDTO getAddress() {
		return address;
	}

	public void setAddress(AddressDTO address) {
		this.address = address;
	}

	public Date getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	
	
}
